package hrx.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class ViewController {

    @GetMapping({"/",  "/login.html"})
    public String login() {
        return "login";
    }

    @GetMapping("/register.html")
    public String register() {
        return "register";
    }

    @GetMapping("/index.html")
    public String index() {
        return "index";
    }

    @GetMapping("/aside.html")
    public String aside() {
        return "aside";
    }

    @GetMapping("/userTask.html")
    public String userTask() {
        return "userTask";
    }

    @GetMapping("/header.html")
    public String header() {
        return "header";
    }

    @GetMapping("/userIndex.html")
    public String userIndex() {
        return "userIndex";
    }

    @GetMapping("/userNewtask.html")
    public String userNewtask() {
        return "userNewtask";
    }

    @GetMapping("/userPassword.html")
    public String userPassword() {
        return "userPassword";
    }

}
